package action;

import java.util.List;

import po.User;
import service.ISuperService;

public class SuperAction {
	private List<User> list;
	private int userID;
	private ISuperService superService;
	public String superIn() {
		list = superService.getAllUndo();	
		System.out.println(list.size());
		return "success";
	}
	
	public String getAll() {
		list = superService.getAll();
		return "success";
	}
	
	public String beTutor() {
		superService.beTutor(userID);
		return "success";
	}
	public ISuperService getSuperService() {
		return superService;
	}

	public void setSuperService(ISuperService superService) {
		this.superService = superService;
	}


	public List<User> getList() {
		return list;
	}


	public void setList(List<User> list) {
		this.list = list;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}
	
	
	
}
